Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.8
|
Leadtools.Dicom.Scp.Command Namespace > DicomCommandFactory Class > CreateTypedCommand Method : CreateTypedCommand<T>(IDicomCommandClientSessionProxy,Int64[]) Method |
public virtual T CreateTypedCommand<T>( IDicomCommandClientSessionProxy sessionProxy, long[] attributes ) where T: DicomCommand
'Declaration Public Overloads Overridable Function CreateTypedCommand(Of T As DicomCommand)( _ ByVal sessionProxy As IDicomCommandClientSessionProxy, _ ByVal attributes() As Long _ ) As T
'Usage Dim instance As DicomCommandFactory Dim sessionProxy As IDicomCommandClientSessionProxy Dim attributes() As Long Dim value As T value = instance.CreateTypedCommand(Of T)(sessionProxy, attributes)
public: virtual T^ CreateTypedCommandgeneric<typename T> ( IDicomCommandClientSessionProxy^ sessionProxy, array<int64>^ attributes ) where T: DicomCommand
This method will try to create a DicomCommand with the given generic type. It will also pass the provided sessionProxy and attributes to the command constructor.
If the method fails to create the command it will throw an exception.